package com.gjh.study.jdk8;

/**
 * @author guangjh
 * @version 1.0
 * @date 2020/7/12 20:26
 */
public interface Formula {
    double calculate(int a);

    default double sqrt(int a) {
        return Math.sqrt(a);
    }
}
